package com.project.class8_24.builder;

/**
 * 华硕电脑厂商
 */
public class AsusBuilder implements IBuilder{
    private Computer computer;
    public AsusBuilder(String cpu,String ram){
        computer = new Computer(cpu,ram);
    }
    @Override
    public void builderUsbCount() {
        computer.setUsbCount(2);
    }

    @Override
    public void builderMouse() {
        computer.setMouse("华硕光电鼠标");
    }

    @Override
    public void builderKeyBorder() {
        computer.setKeyborder("华硕彩色键盘");
    }

    @Override
    public Computer getComputer() {
        return this.computer;
    }
}
